package com.alumni_circle.entity.home;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 龙小虬
 * @since 2020-07-06 19:37
 */
@Data
@TableName(value = "slideshow")
public class SlideShow implements Serializable {

    @ApiModelProperty(value = "主键")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "顺序")
    private String sequence;

    @ApiModelProperty(value = "图片")
    private String picture;

    @ApiModelProperty(value = "删除")
    @TableLogic
    private String state;
}
